<?php 
header('Content-type:text/html;charset=utf-8');

$mobile	= '18865935707';
$mobile = '14755556666';

function is_phone_number($mobile){
	$pattern = '/^1(3|5|7|8)\d{9}$/';
	if (preg_match($pattern,$mobile,$matches)) {
		return 'Right';
	} else {
		return 'Wrong';
	}
}

$a = is_phone_number($mobile);
var_dump($a);






 ?>